package com.qys.livesMall.app.user.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 运营报表
 * </p>
 *
 * @author 
 * @since 2023-11-10
 */
@Getter
@Setter
@TableName("h2_sys_operate_report")
@Schema(name = "SysOperateReport", description = "运营报表")
public class SysOperateReport implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "统计日期")
    private String date;

    @Schema(description = "充值金额")
    private BigDecimal recharge;

    @Schema(description = "首充金额")
    private BigDecimal firstCharge;

    @Schema(description = "提现金额")
    private BigDecimal withdrawal;

    @Schema(description = "实际出款")
    private BigDecimal actualAmount;

    @Schema(description = "注册人数")
    private Integer registerNum;

    @Schema(description = "充值人数")
    private Integer rechargeNum;

    @Schema(description = "首充人数")
    private Integer firstChargeNum;

    @Schema(description = "提现人数")
    private Integer withdrawalNum;

    @Schema(description = "收益金额")
    private BigDecimal revenueAmount;

    @Schema(description = "赠送彩金")
    private BigDecimal giveWinnings;

    @Schema(description = "彩金增加")
    private BigDecimal increaseWinnings;

    @Schema(description = "彩金减少")
    private BigDecimal reduceWinnings;

    @Schema(description = "团队佣金")
    private BigDecimal teamCommission;

    @Schema(description = "用户系统类型（0：水军，1：正常用户）")
    @TableField("user_sys_type")
    private Integer userSysType;

    @Schema(description = "0:用户，1：店铺")
    private Integer type;
}
